package org.edu.modules.stu.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.edu.common.api.vo.Result;
import org.edu.modules.stu.biye.dto.VeStuGraduationDto;
import org.edu.modules.stu.common.entity.VeBaseAppUser;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface VeBaseAppUserService  extends IService<VeBaseAppUser> {
    //根据用户id查用户信息
    public abstract VeBaseAppUser getVeBaseAppUserById(String id);

    List<Map<String, Object>> getBaseSysRoleList(String userId);
    public abstract String pwdVerify(String pwd);
    public abstract VeBaseAppUser getPwdAndSalt(VeBaseAppUser veBaseAppUser);
    public abstract int addSysUser(VeBaseAppUser veBaseAppUser);
    public abstract Integer getIdByRoleCode(String code);
    public abstract int addSysRoleUser(String userId, Integer userRoleId);
    public abstract Map getSysRoleUser(String userId, Integer roleId);

    int updateAppUserByUserId(String userId);

    int updateSysUserDel(String userId);


    int updateSysUserDelBatch(List<String> userIds);

    int deleteOrgan(String userId);

    int deleteRole(String userId);

    public void deleteAppUser(String userId);
}
